package com.example.csetpp.pojo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("entry")
public class RichText {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    private String title;

    private String content;

    @TableField("create_time")
    private Long createTime;
    @TableField("`rank`")
    private Integer rank;
}